﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace BoldBrick.OneIntranet.HR.Workflows.HRWorkflow
{
	public sealed partial class HRWorkflow
	{
		#region Designer generated code

		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		[System.Diagnostics.DebuggerNonUserCode]
		private void InitializeComponent()
		{
			this.CanModifyActivities = true;
			System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
			System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
			System.Workflow.Activities.CodeCondition codecondition2 = new System.Workflow.Activities.CodeCondition();
			System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind9 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Runtime.CorrelationToken correlationtoken2 = new System.Workflow.Runtime.CorrelationToken();
			System.Workflow.ComponentModel.ActivityBind activitybind10 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind11 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind12 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind13 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind14 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind15 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind16 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Activities.CodeCondition codecondition3 = new System.Workflow.Activities.CodeCondition();
			System.Workflow.ComponentModel.ActivityBind activitybind17 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind18 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind19 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Runtime.CorrelationToken correlationtoken3 = new System.Workflow.Runtime.CorrelationToken();
			System.Workflow.ComponentModel.ActivityBind activitybind20 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind21 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Activities.CodeCondition codecondition4 = new System.Workflow.Activities.CodeCondition();
			System.Workflow.ComponentModel.ActivityBind activitybind22 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind23 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind24 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind25 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind26 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind27 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind28 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind29 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind30 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind31 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind32 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind33 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind34 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.Activities.CodeCondition codecondition5 = new System.Workflow.Activities.CodeCondition();
			System.Workflow.ComponentModel.ActivityBind activitybind35 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind36 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind38 = new System.Workflow.ComponentModel.ActivityBind();
			System.Workflow.ComponentModel.ActivityBind activitybind37 = new System.Workflow.ComponentModel.ActivityBind();
			this.logSendEmail2 = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.sendEmailTaskOwnerChanged = new Microsoft.SharePoint.WorkflowActions.SendEmail();
			this.sendEmailSet2 = new System.Workflow.Activities.IfElseBranchActivity();
			this.ifSendEmail2 = new System.Workflow.Activities.IfElseActivity();
			this.taskOwnerIsChanged = new System.Workflow.Activities.IfElseBranchActivity();
			this.ifTaskOwnerChanged = new System.Workflow.Activities.IfElseActivity();
			this.logTaskChanged = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.taskChanged = new Microsoft.SharePoint.WorkflowActions.OnTaskChanged();
			this.logSendEmail = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.sendEmailTaskCreated = new Microsoft.SharePoint.WorkflowActions.SendEmail();
			this.taskChangedSequence = new System.Workflow.Activities.SequenceActivity();
			this.sendEmailSet = new System.Workflow.Activities.IfElseBranchActivity();
			this.logCompleteTask = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.completeTask = new Microsoft.SharePoint.WorkflowActions.CompleteTask();
			this.whileTaskNotFinished = new System.Workflow.Activities.WhileActivity();
			this.ifSendEmail = new System.Workflow.Activities.IfElseActivity();
			this.logCreateTask = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.taskCreated = new Microsoft.SharePoint.WorkflowActions.OnTaskCreated();
			this.createTaskCNT = new Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType();
			this.oneStepSequence = new System.Workflow.Activities.SequenceActivity();
			this.logFinish = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.whileStepsNotFinished = new System.Workflow.Activities.WhileActivity();
			this.logStart = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
			this.workflowActivated = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
			this.cancellationHandlerActivity1 = new System.Workflow.ComponentModel.CancellationHandlerActivity();
			this.faultHandlersActivity1 = new System.Workflow.ComponentModel.FaultHandlersActivity();
			this.sequenceActivity1 = new System.Workflow.Activities.SequenceActivity();
			// 
			// logSendEmail2
			// 
			this.logSendEmail2.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logSendEmail2.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.None;
			activitybind1.Name = "HRWorkflow";
			activitybind1.Path = "EmailSubject";
			this.logSendEmail2.HistoryOutcome = "";
			this.logSendEmail2.Name = "logSendEmail2";
			this.logSendEmail2.OtherData = "";
			activitybind2.Name = "HRWorkflow";
			activitybind2.Path = "UserID";
			this.logSendEmail2.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
			this.logSendEmail2.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
			// 
			// sendEmailTaskOwnerChanged
			// 
			this.sendEmailTaskOwnerChanged.BCC = null;
			activitybind3.Name = "HRWorkflow";
			activitybind3.Path = "EmailBody";
			this.sendEmailTaskOwnerChanged.CC = null;
			correlationtoken1.Name = "workflowToken";
			correlationtoken1.OwnerActivityName = "HRWorkflow";
			this.sendEmailTaskOwnerChanged.CorrelationToken = correlationtoken1;
			this.sendEmailTaskOwnerChanged.From = null;
			this.sendEmailTaskOwnerChanged.Headers = null;
			this.sendEmailTaskOwnerChanged.IncludeStatus = false;
			this.sendEmailTaskOwnerChanged.Name = "sendEmailTaskOwnerChanged";
			activitybind4.Name = "HRWorkflow";
			activitybind4.Path = "EmailSubject";
			activitybind5.Name = "HRWorkflow";
			activitybind5.Path = "CurrentTaskOwnerEmail";
			this.sendEmailTaskOwnerChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.SubjectProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
			this.sendEmailTaskOwnerChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.ToProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
			this.sendEmailTaskOwnerChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.BodyProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
			// 
			// sendEmailSet2
			// 
			this.sendEmailSet2.Activities.Add(this.sendEmailTaskOwnerChanged);
			this.sendEmailSet2.Activities.Add(this.logSendEmail2);
			codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.CanSendEmails);
			this.sendEmailSet2.Condition = codecondition1;
			this.sendEmailSet2.Name = "sendEmailSet2";
			// 
			// ifSendEmail2
			// 
			this.ifSendEmail2.Activities.Add(this.sendEmailSet2);
			this.ifSendEmail2.Name = "ifSendEmail2";
			// 
			// taskOwnerIsChanged
			// 
			this.taskOwnerIsChanged.Activities.Add(this.ifSendEmail2);
			codecondition2.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.IsTaskOwnerChanged);
			this.taskOwnerIsChanged.Condition = codecondition2;
			this.taskOwnerIsChanged.Name = "taskOwnerIsChanged";
			// 
			// ifTaskOwnerChanged
			// 
			this.ifTaskOwnerChanged.Activities.Add(this.taskOwnerIsChanged);
			this.ifTaskOwnerChanged.Name = "ifTaskOwnerChanged";
			// 
			// logTaskChanged
			// 
			this.logTaskChanged.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logTaskChanged.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskModified;
			activitybind6.Name = "HRWorkflow";
			activitybind6.Path = "TaskProperties.Title";
			this.logTaskChanged.HistoryOutcome = "";
			this.logTaskChanged.Name = "logTaskChanged";
			activitybind7.Name = "HRWorkflow";
			activitybind7.Path = "LogData";
			activitybind8.Name = "HRWorkflow";
			activitybind8.Path = "UserID";
			this.logTaskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
			this.logTaskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
			this.logTaskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.OtherDataProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
			// 
			// taskChanged
			// 
			activitybind9.Name = "HRWorkflow";
			activitybind9.Path = "TaskAfterProperties";
			this.taskChanged.BeforeProperties = null;
			correlationtoken2.Name = "taskToken";
			correlationtoken2.OwnerActivityName = "oneStepSequence";
			this.taskChanged.CorrelationToken = correlationtoken2;
			activitybind10.Name = "HRWorkflow";
			activitybind10.Path = "TaskExecutor";
			this.taskChanged.Name = "taskChanged";
			activitybind11.Name = "HRWorkflow";
			activitybind11.Path = "TaskId";
			this.taskChanged.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.taskChanged_Handler);
			this.taskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.AfterPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind9)));
			this.taskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind11)));
			this.taskChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.ExecutorProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind10)));
			// 
			// logSendEmail
			// 
			this.logSendEmail.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logSendEmail.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.None;
			activitybind12.Name = "HRWorkflow";
			activitybind12.Path = "EmailSubject";
			this.logSendEmail.HistoryOutcome = "";
			this.logSendEmail.Name = "logSendEmail";
			this.logSendEmail.OtherData = "";
			activitybind13.Name = "HRWorkflow";
			activitybind13.Path = "UserID";
			this.logSendEmail.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind13)));
			this.logSendEmail.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind12)));
			// 
			// sendEmailTaskCreated
			// 
			this.sendEmailTaskCreated.BCC = null;
			activitybind14.Name = "HRWorkflow";
			activitybind14.Path = "EmailBody";
			this.sendEmailTaskCreated.CC = null;
			this.sendEmailTaskCreated.CorrelationToken = correlationtoken1;
			this.sendEmailTaskCreated.From = null;
			this.sendEmailTaskCreated.Headers = null;
			this.sendEmailTaskCreated.IncludeStatus = false;
			this.sendEmailTaskCreated.Name = "sendEmailTaskCreated";
			activitybind15.Name = "HRWorkflow";
			activitybind15.Path = "EmailSubject";
			activitybind16.Name = "HRWorkflow";
			activitybind16.Path = "CurrentTaskOwnerEmail";
			this.sendEmailTaskCreated.MethodInvoking += new System.EventHandler(this.sendEmail_Handler);
			this.sendEmailTaskCreated.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.BodyProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind14)));
			this.sendEmailTaskCreated.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.SubjectProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind15)));
			this.sendEmailTaskCreated.SetBinding(Microsoft.SharePoint.WorkflowActions.SendEmail.ToProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind16)));
			// 
			// taskChangedSequence
			// 
			this.taskChangedSequence.Activities.Add(this.taskChanged);
			this.taskChangedSequence.Activities.Add(this.logTaskChanged);
			this.taskChangedSequence.Activities.Add(this.ifTaskOwnerChanged);
			this.taskChangedSequence.Name = "taskChangedSequence";
			// 
			// sendEmailSet
			// 
			this.sendEmailSet.Activities.Add(this.sendEmailTaskCreated);
			this.sendEmailSet.Activities.Add(this.logSendEmail);
			codecondition3.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.CanSendEmails);
			this.sendEmailSet.Condition = codecondition3;
			this.sendEmailSet.Name = "sendEmailSet";
			// 
			// logCompleteTask
			// 
			this.logCompleteTask.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logCompleteTask.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCompleted;
			activitybind17.Name = "HRWorkflow";
			activitybind17.Path = "TaskProperties.Title";
			this.logCompleteTask.HistoryOutcome = "";
			this.logCompleteTask.Name = "logCompleteTask";
			activitybind18.Name = "HRWorkflow";
			activitybind18.Path = "LogData";
			activitybind19.Name = "HRWorkflow";
			activitybind19.Path = "UserID";
			this.logCompleteTask.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind19)));
			this.logCompleteTask.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind17)));
			this.logCompleteTask.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.OtherDataProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind18)));
			// 
			// completeTask
			// 
			correlationtoken3.Name = "taskToken";
			correlationtoken3.OwnerActivityName = "oneStepSequence";
			this.completeTask.CorrelationToken = correlationtoken3;
			this.completeTask.Name = "completeTask";
			activitybind20.Name = "HRWorkflow";
			activitybind20.Path = "TaskId";
			activitybind21.Name = "HRWorkflow";
			activitybind21.Path = "TaskOutcome";
			this.completeTask.MethodInvoking += new System.EventHandler(this.taskComplete_Handler);
			this.completeTask.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind20)));
			this.completeTask.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind21)));
			// 
			// whileTaskNotFinished
			// 
			this.whileTaskNotFinished.Activities.Add(this.taskChangedSequence);
			codecondition4.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.IsTaskPending);
			this.whileTaskNotFinished.Condition = codecondition4;
			this.whileTaskNotFinished.Name = "whileTaskNotFinished";
			// 
			// ifSendEmail
			// 
			this.ifSendEmail.Activities.Add(this.sendEmailSet);
			this.ifSendEmail.Name = "ifSendEmail";
			// 
			// logCreateTask
			// 
			this.logCreateTask.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logCreateTask.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.TaskCreated;
			activitybind22.Name = "HRWorkflow";
			activitybind22.Path = "TaskProperties.Title";
			this.logCreateTask.HistoryOutcome = "";
			this.logCreateTask.Name = "logCreateTask";
			activitybind23.Name = "HRWorkflow";
			activitybind23.Path = "LogData";
			activitybind24.Name = "HRWorkflow";
			activitybind24.Path = "UserID";
			this.logCreateTask.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind24)));
			this.logCreateTask.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind22)));
			this.logCreateTask.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.OtherDataProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind23)));
			// 
			// taskCreated
			// 
			activitybind25.Name = "HRWorkflow";
			activitybind25.Path = "TaskAfterProperties";
			this.taskCreated.CorrelationToken = correlationtoken3;
			activitybind26.Name = "HRWorkflow";
			activitybind26.Path = "TaskExecutor";
			this.taskCreated.Name = "taskCreated";
			activitybind27.Name = "HRWorkflow";
			activitybind27.Path = "TaskId";
			this.taskCreated.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskCreated.AfterPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind25)));
			this.taskCreated.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskCreated.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind27)));
			this.taskCreated.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskCreated.ExecutorProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind26)));
			// 
			// createTaskCNT
			// 
			activitybind28.Name = "HRWorkflow";
			activitybind28.Path = "TaskContentTypeId";
			this.createTaskCNT.CorrelationToken = correlationtoken3;
			activitybind29.Name = "HRWorkflow";
			activitybind29.Path = "ListItemId";
			this.createTaskCNT.Name = "createTaskCNT";
			this.createTaskCNT.SpecialPermissions = null;
			activitybind30.Name = "HRWorkflow";
			activitybind30.Path = "TaskId";
			activitybind31.Name = "HRWorkflow";
			activitybind31.Path = "TaskProperties";
			this.createTaskCNT.MethodInvoking += new System.EventHandler(this.taskCreated_Handler);
			this.createTaskCNT.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.ContentTypeIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind28)));
			this.createTaskCNT.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.ListItemIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind29)));
			this.createTaskCNT.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind30)));
			this.createTaskCNT.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType.TaskPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind31)));
			// 
			// oneStepSequence
			// 
			this.oneStepSequence.Activities.Add(this.createTaskCNT);
			this.oneStepSequence.Activities.Add(this.taskCreated);
			this.oneStepSequence.Activities.Add(this.logCreateTask);
			this.oneStepSequence.Activities.Add(this.ifSendEmail);
			this.oneStepSequence.Activities.Add(this.whileTaskNotFinished);
			this.oneStepSequence.Activities.Add(this.completeTask);
			this.oneStepSequence.Activities.Add(this.logCompleteTask);
			this.oneStepSequence.Name = "oneStepSequence";
			// 
			// logFinish
			// 
			this.logFinish.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logFinish.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowCompleted;
			activitybind32.Name = "HRWorkflow";
			activitybind32.Path = "HistoryDescription";
			this.logFinish.HistoryOutcome = "";
			this.logFinish.Name = "logFinish";
			activitybind33.Name = "HRWorkflow";
			activitybind33.Path = "LogData";
			activitybind34.Name = "HRWorkflow";
			activitybind34.Path = "UserID";
			this.logFinish.MethodInvoking += new System.EventHandler(this.logFinish_Handler);
			this.logFinish.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind34)));
			this.logFinish.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind32)));
			this.logFinish.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.OtherDataProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind33)));
			// 
			// whileStepsNotFinished
			// 
			this.whileStepsNotFinished.Activities.Add(this.oneStepSequence);
			codecondition5.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.IsWorkflowPending);
			this.whileStepsNotFinished.Condition = codecondition5;
			this.whileStepsNotFinished.Name = "whileStepsNotFinished";
			// 
			// logStart
			// 
			this.logStart.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
			this.logStart.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowStarted;
			activitybind35.Name = "HRWorkflow";
			activitybind35.Path = "HistoryDescription";
			this.logStart.HistoryOutcome = "";
			this.logStart.Name = "logStart";
			this.logStart.OtherData = "";
			activitybind36.Name = "HRWorkflow";
			activitybind36.Path = "UserID";
			this.logStart.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.UserIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind36)));
			this.logStart.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryDescriptionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind35)));
			activitybind38.Name = "HRWorkflow";
			activitybind38.Path = "WorkflowId";
			// 
			// workflowActivated
			// 
			this.workflowActivated.CorrelationToken = correlationtoken1;
			this.workflowActivated.EventName = "OnWorkflowActivated";
			this.workflowActivated.Name = "workflowActivated";
			activitybind37.Name = "HRWorkflow";
			activitybind37.Path = "WorkflowProperties";
			this.workflowActivated.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.OnWorkflowActivated);
			this.workflowActivated.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind38)));
			this.workflowActivated.SetBinding(Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated.WorkflowPropertiesProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind37)));
			// 
			// cancellationHandlerActivity1
			// 
			this.cancellationHandlerActivity1.Name = "cancellationHandlerActivity1";
			// 
			// faultHandlersActivity1
			// 
			this.faultHandlersActivity1.Name = "faultHandlersActivity1";
			// 
			// sequenceActivity1
			// 
			this.sequenceActivity1.Activities.Add(this.workflowActivated);
			this.sequenceActivity1.Activities.Add(this.logStart);
			this.sequenceActivity1.Activities.Add(this.whileStepsNotFinished);
			this.sequenceActivity1.Activities.Add(this.logFinish);
			this.sequenceActivity1.Name = "sequenceActivity1";
			// 
			// HRWorkflow
			// 
			this.Activities.Add(this.sequenceActivity1);
			this.Activities.Add(this.faultHandlersActivity1);
			this.Activities.Add(this.cancellationHandlerActivity1);
			this.Name = "HRWorkflow";
			this.CanModifyActivities = false;

		}

		#endregion

		private SequenceActivity sequenceActivity1;

		private CancellationHandlerActivity cancellationHandlerActivity1;

		private Microsoft.SharePoint.WorkflowActions.OnTaskCreated taskCreated;

		private Microsoft.SharePoint.WorkflowActions.SendEmail sendEmailTaskOwnerChanged;

		private IfElseBranchActivity sendEmailSet2;

		private IfElseActivity ifSendEmail2;

		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logSendEmail2;

		private IfElseBranchActivity taskOwnerIsChanged;

		private IfElseActivity ifTaskOwnerChanged;

		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logSendEmail;

		private IfElseBranchActivity sendEmailSet;

		private IfElseActivity ifSendEmail;

		private Microsoft.SharePoint.WorkflowActions.SendEmail sendEmailTaskCreated;

		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logCompleteTask;

		private Microsoft.SharePoint.WorkflowActions.CompleteTask completeTask;

		private Microsoft.SharePoint.WorkflowActions.CreateTaskWithContentType createTaskCNT;

		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logTaskChanged;

		private Microsoft.SharePoint.WorkflowActions.OnTaskChanged taskChanged;

		private SequenceActivity taskChangedSequence;

		private WhileActivity whileTaskNotFinished;

		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logCreateTask;

		private SequenceActivity oneStepSequence;

		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logFinish;

		private WhileActivity whileStepsNotFinished;

		private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logStart;

		private FaultHandlersActivity faultHandlersActivity1;

		private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated workflowActivated;


































































































	}
}
